package conveyDemo

import "errors"

func Add(a, b int) int {
	return a + b
}
func Sub(a, b int) int {
	return a - b
}
func Div(a, b int) (int, error) {
	if b != 0 {
		return a / b, nil
	} else {
		return 0, errors.New("chu shu bu neng wei 0")
	}
}
